#pragma once
//#include "ClientSocket.h"
#include "ClientSocket1.h"

class ServerSocket : public CSocket
{
public:
	static const int MAX_CLIENT = 5;
	int m_clientCounter;
	HWND hwnd;
	CDialog *pDlg;
	//ClientSocket m_clientSocket;
	ClientSocket1 m_clientSocket;
	int m_arrClientID[MAX_CLIENT];

	ClientSocket1 m_arrSocketClients[MAX_CLIENT];

	ServerSocket();
	virtual ~ServerSocket();
	virtual void OnAccept(int nErrorCode);
	virtual void OnReceive(int nErrorCode);
};


